home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>9</cardCount>
- <cardID>4197</cardID>
- <listID>2170</listID>
- <cantModify><true /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>------------------------------------------------------------------------
- -- Stack: Library Help --
- -- ©1990 Medior, Inc. --
- -- ©1990 Apple Computer, Inc. --
- -- --
- -- 8/24/90 1:18 PM --
- -- Version: 6.0 --
- ------------------------------------------------------------------------
-
- on domenu menuItem
- global UserName
- if UserName is "Peter Meyer" then pass domenu
- else if menuItem is in "Quit HyperCard Home" then LinkToQuit menuItem
- else if menuItem is in "First Next Last Prev Back Recent" then
- beep
- else pass doMenu
- end domenu
-
- on LinkToQuit where
- global gMainStack6,gLastCard
- set cursor to 4
- if gMainStack6 is not "" then
- set lockmessages to true
- set lockScreen to true
- put long id of this cd into gLastCard
- go stack gMainStack6
- send LinkToQuit to this stack
- else
- if where = "Home" then
- visual barn door close
- go home
- else send "domenu Quit HyperCard" to HyperCard
- end if
- end LinkToQuit
-
- on LinkToMap
- global gMainStack6
- if gMainStack6 is not "" then
- set cursor to 4
- go cd "Map" of stack gMainStack6
- unlock screen with iris close
- else
- beep
- answer "The stack containing the map is not available now!"¬
- with "Cancel"
- end if
- end LinkToMap
-
- Function linenumber
-
- --// Used to find the line number that was clicked on in a
- --// either a scrolling field or a non-scrolling field
-
- if the style of target is "scrolling" then
- put (((the scroll of target)¬
- +(the clickV)-(top of target))¬
- / the textheight of target) into temp1
- else
- put (((the clickV)-(top of target))¬
- / the textheight of target) into temp1
- end if
-
- put trunc (temp1) into temp2 --// Fudge factor for wide margins
- if temp1-temp2 ‚â• .25 then
- return trunc(temp2) + 1
- else return trunc(temp2)
-
- end linenumber
-
- ------------------------- Function SelectLine ----------------------------
-
- Function selectLine lineNumber,fldName
- do ("put line lineNumber of " & fldName & " into theLine")
- if theLine is not "" then
- do ("put (number of chars of line 1 to lineNumber of" && fldName &¬
- ") + 1 into endChar")
- do ("select char (endChar - length of theLine) to endChar of" &&¬
- fldName)
- else return false
- end selectLine
-
- ------------------------- Function BtnSelect ----------------------------
-
- function BtnSelect lineNum,fldName
- --// Handles location and hilite of cd btn in category list.
-
- put top of fldName into y
- put the textheight of fldName into txtht
- put y - 3 + (txtht*lineNum) into btny
- put item 1 of the loc of cd btn "hiliter" into btnx
- set loc of btn "hiliter" to btnx,btny
- set hilite of btn "hiliter" to true
- end btnselect
-
- </script>
- <background id="2782" file="background_2782.xml" name="General" />
- <background id="2958" file="background_2958.xml" name="Presentations" />
- <background id="4490" file="background_4490.xml" name="Menu" />
- <card id="4197" file="card_4197.xml" marked="false" name="Menu" owner="4490" />
- <card id="4714" file="card_4714.xml" marked="false" name="1-Setting Up the Library CD" owner="2782" />
- <card id="4926" file="card_4926.xml" marked="false" name="2-Navigation" owner="2782" />
- <card id="5350" file="card_5350.xml" marked="false" name="3-Loading Correct Fonts" owner="2782" />
- <card id="6137" file="card_6137.xml" marked="false" name="4-Updating Contents" owner="2782" />
- <card id="6551" file="card_6551.xml" marked="false" name="5-About This Stack" owner="2782" />
- <card id="7057" file="card_7057.xml" marked="false" name="1-Viewing Presentations" owner="2958" />
- <card id="11540" file="card_11540.xml" marked="false" name="2-Customizing Presentations" owner="2958" />
- <card id="12097" file="card_12097.xml" marked="false" name="3-Presentations on AppleLink" owner="2958" />
- </stack>
-